import request from '@/utils/request'

export const registerApi = (data) => request({
  url: '/user/registered',
  method: 'POST',
  data: data
})

export const loginApi = (data) => request({
  url: '/user/login',
  method: 'POST',
  data: data
})
